object ForUntilDemo02 {
  def main(args: Array[String]): Unit = {
    //输出10句 "hello,Scala!"
    val start = 1
    val end = 11
    // 循环的范围是 start --- （end - 1）
    for (i <- start until end) {
      println("你好，Scala" + i)
    }
  }
}